package com.example.paging3samples.database

import androidx.room.Database
import androidx.room.RoomDatabase
import com.example.paging3samples.database.model.PostEntity
import com.example.paging3samples.database.model.RemoteKeys
import com.example.paging3samples.network.model.anime.Post

/**
 * author: LiLiang
 * createTime: 2022/9/15-12:25
 * remark:
 **/

@Database(entities = [PostEntity::class, RemoteKeys::class], version = 1, exportSchema = false)
abstract class PostDatabase: RoomDatabase() {

    abstract val postDao: PostDao

    abstract val remoteKeysDao: RemoteKeysDao
}